home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 April / Gamestar_83_2006-04_dvd.iso / Dema / demowot_english.exe / InfDX / Materials / deferred-toolkit.mat / no self shadow / directional-shadow.pass next >
Text File  |  2005-05-03  |  3KB  |  129 lines

  1. ; klonozos dolgok szintaktikaja
  2. ; CLONE = "BARMI.PASS" - egy masik pass klonozasa, ugyanebbol a materialbol
  3. ; CLONE = "AKARMI.MAT","BARMI.PASS" - egy masik material egyik passa
  4.  
  5. ; common states
  6.  
  7. ; fixed pipe settings
  8. RS_LIGHTING = "FALSE"
  9. ;RS_LOCALVIEWER = "FALSE"
  10. ;RS_NORMALIZENORMALS = "FALSE"
  11. ;RS_SPECULARENABLE = "FALSE"
  12.  
  13. ; alpha blending
  14. RS_ALPHABLENDENABLE = "FALSE"
  15. ;RS_SRCBLEND = "BLEND_ONE"
  16. ;RS_BLENDOP = "BLENDOP_ADD"
  17. ;RS_DESTBLEND = "BLEND_ONE"
  18.  
  19. ; zbuffer operations
  20. RS_ZENABLE = "ZB_TRUE"
  21. RS_ZWRITEENABLE = "FALSE"
  22. RS_ZFUNC = "CMP_LESSEQUAL"
  23.  
  24. ; framebuffer operations
  25. RS_ALPHATESTENABLE = "FALSE"
  26. ;RS_ALPHAREF = "UNDEFINED"
  27. ;RS_ALPHAFUNC = "UNDEFINED"
  28. RS_COLORWRITEENABLE = "COLORWRITEENABLE_ALL"
  29.  
  30. ; rasterization
  31. RS_FILLMODE = "FILL_SOLID"
  32. RS_SHADEMODE = "SHADE_GOURAUD"
  33. RS_CULLMODE = "CULL_NONE"
  34.  
  35. ; stencil
  36. RS_STENCILENABLE = "TRUE"
  37. RS_STENCILFAIL = "STENCILOP_KEEP"
  38. RS_STENCILZFAIL = "STENCILOP_KEEP"
  39. RS_STENCILPASS = "STENCILOP_KEEP"
  40. RS_STENCILFUNC = "CMP_EQUAL"
  41. RS_STENCILREF = 2
  42. RS_STENCILMASK = "FFFFFFFF"
  43. RS_STENCILWRITEMASK = "FFFFFFFF"
  44. RS_TWOSIDEDSTENCILENABLE = "FALSE"
  45.  
  46. ; shaderek
  47. CUSTOMSHADERFLAGS = 0
  48. VERTEXSHADER = "deferred-directional-vertex.hlsl"
  49. PIXELSHADER = "deferred-directional-pixel.hlsl"
  50.  
  51. ; kimaradt dolgok:
  52. ; fog dolgok nem kellenek, automata
  53. ; stencillel szinten ne szivjunk
  54. ; clipping mindig true
  55. ; ambient color automata
  56. ; colorvertex mindig true
  57. ; material source mindig color
  58.  
  59. [SAMPLER]
  60. {
  61.     TEXTURESLOT = "DEFERRED-ALBEDO.SURFACE"
  62.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  63.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  64.     SAMP_MAGFILTER = "TEXF_POINT"
  65.     SAMP_MINFILTER = "TEXF_POINT"
  66.     SAMP_MIPFILTER = "TEXF_POINT"
  67. }
  68.  
  69. [SAMPLER]
  70. {
  71.     TEXTURESLOT = "DEFERRED-NORMAL.SURFACE"
  72.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  73.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  74.     SAMP_MAGFILTER = "TEXF_POINT"
  75.     SAMP_MINFILTER = "TEXF_POINT"
  76.     SAMP_MIPFILTER = "TEXF_POINT"
  77. }
  78.  
  79. [SAMPLER]
  80. {
  81.     TEXTURESLOT = "DEFERRED-POSITION.SURFACE"
  82.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  83.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  84.     SAMP_MAGFILTER = "TEXF_POINT"
  85.     SAMP_MINFILTER = "TEXF_POINT"
  86.     SAMP_MIPFILTER = "TEXF_POINT"
  87. }
  88.  
  89. ; ez csak dummy, mert nincs shadow ki/be kapcs
  90. [SAMPLER]
  91. {
  92.     TEXTURESLOT = "SPECULAR.SURFACE"
  93.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  94.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  95.     SAMP_MAGFILTER = "TEXF_LINEAR"
  96.     SAMP_MINFILTER = "TEXF_LINEAR"
  97.     SAMP_MIPFILTER = "TEXF_LINEAR"
  98. }
  99.  
  100. [SAMPLER]
  101. {
  102.     TEXTURESLOT = "SHADOWMAP-COLOR.SURFACE"
  103.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  104.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  105.     SAMP_MAGFILTER = "TEXF_POINT"
  106.     SAMP_MINFILTER = "TEXF_POINT"
  107.     SAMP_MIPFILTER = "TEXF_POINT"
  108. }
  109.  
  110. [SAMPLER]
  111. {
  112.     TEXTURESLOT = "SHADOWFRAME.SURFACE"
  113.     SAMP_ADDRESSU = "TADDRESS_CLAMP"
  114.     SAMP_ADDRESSV = "TADDRESS_CLAMP"
  115.     SAMP_MAGFILTER = "TEXF_LINEAR"
  116.     SAMP_MINFILTER = "TEXF_LINEAR"
  117.     SAMP_MIPFILTER = "TEXF_LINEAR"
  118. }
  119.  
  120. ;[SAMPLER]
  121. ;{
  122. ;    TEXTURESLOT = "SKY.SURFACE"
  123. ;    SAMP_ADDRESSU = "TADDRESS_WRAP"
  124. ;    SAMP_ADDRESSV = "TADDRESS_WRAP"
  125. ;    SAMP_MAGFILTER = "TEXF_LINEAR"
  126. ;    SAMP_MINFILTER = "TEXF_LINEAR"
  127. ;    SAMP_MIPFILTER = "TEXF_LINEAR"
  128. ;}
  129.